package com.guigu.www.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 *
 * </p>
 *
 * @author DengHao
 * @since 2021-10-21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
//@ApiModel(value="Bespeak对象", description="")
public class Bespeak implements Serializable {

    private static final long serialVersionUID=1L;

    //@ApiModelProperty(value = " 自增列ID")
    @TableId(value = "bes_id", type = IdType.AUTO)
    private Integer besId;

    //@ApiModelProperty(value = "姓名")
    private String besName;

    //@ApiModelProperty(value = "身份证号，18位，严格验证")
    private String besIdentity;

    //@ApiModelProperty(value = " 日期类型，添加的时候通过输入的身份证号截取出出生日期，并按照日期格式添加到数据中")
    private String besBirthday;

    //@ApiModelProperty(value = "手机号")
    private String besPhone;

    //@ApiModelProperty(value = "性别")
    private String besGender;

    //@ApiModelProperty(value = " 年龄")
    private Integer besAge;

    //@ApiModelProperty(value = "婚姻状态 (已婚，未婚)")
    private String besWedlock;

    //@ApiModelProperty(value = " 预约时间（用户自定义预约时间）")
    private String besTime;

    //@ApiModelProperty(value = " 预约套餐ID")
    private Integer besSmId;

    //@ApiModelProperty(value = " 预约类型ID（入职体检，健康体检，从业体检，征兵体检，学生体检，职业病体检）")
    private Integer besTypeId;

    //@ApiModelProperty(value = " 是否支付（0,已支付；1,未支付）")
    private Integer besIspay;

    //@ApiModelProperty(value = " 预约状态（0,代表已预约；1,代表预约成功；2,代表预约失败；3,代表取消预约）")
    private Integer besState;

    //@ApiModelProperty(value = " 是否完成体检（0,未完成；1,已完成）")
    private Integer besComplete;

    //@ApiModelProperty(value = " 是否上传体检结果（0,未上传；1,已上传）")
    private Integer besIsUpload;

    //@ApiModelProperty(value = " 会员表ID`bespeak`")
    private Integer memId;

    //@ApiModelProperty(value = " 预约记录创建时间")
    private String besCreateTime;

    // 唐樱萌添加 会员信息
    @TableField(exist = false)
    private Member member;

    // 唐樱萌添加 套餐信息
    @TableField(exist = false)
    private BespeakSetMeal bespeakSetMeal;



}
